<?php
use yii\helpers\Html;
use yii\helpers\Url;
use app\lib\WeixinUtils;
use app\lib\Tools;

/* @var $this yii\web\View */
/* @var $content string 字符串 */


$imgUrl = Url::to("@web/img/wx/");
$jsUrl = Url::to("@web/js/wx/");
$basejsUrl = Url::to("@web/js/");
$cssUrl = Url::to("@web/css/wx/");

//var_dump($ncwlxx);
//die;


/*array (size=11)
  'cpcode' => string 'DLHCJ0037' (length=9)
  'ising' => string 'Y' (length=1)
  'wlsCode' => string 'c023001' (length=7)
  'wlsName' => string '重庆EMS经济' (length=15)
  'kdwz' => string 'http://www.11183.com.cn/ems/logistics/search' (length=44)
  'wldh' => string '9558295179400' (length=13)
  'sendTime' => string '' (length=0)
  'sendStatus' => string '2' (length=1)
  'ischange' => string 'N' (length=1)
  'isvirtual' => string 'N' (length=1)
  'virtualInfo' => string '' (length=0)*/



?>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">


    <script src="<?= $basejsUrl ?>/jquery.js"></script>
    <script src="<?= $jsUrl ?>/zepto.min.js"></script>
    <title>查询物流</title>

</head>

<body>

<?php
//var_dump($ncwlxx);
//var_dump($giftCode);

$wl=$ncwlxx['data'];
$wl=$wl[$giftCode];
if($ncwlxx['status']=='1' && $wl["wldh"]!=''){



    ?>
    <div class="main">

        <div class="weui_icon_area" style="margin-top: 50px;"><i class="weui_icon_success weui_icon_msg"></i></div>

        <div class="number">
            物流单号:<?=$wl["wldh"]?>
        </div>

        <div>
            <a class="src" href="<?=$wl["kdwz"]?>"><?=$wl["wlsName"]?></a>
        </div>

        网址：<?=$wl["kdwz"]?>

    </div>


    <?php
}else{
    echo '待出货';
   // die;
}
?>


</body>
</html>